package com.hs.ph.Dao;



import com.hs.ph.Entity.Community;
import com.hs.ph.Entity.Shop;

import java.util.List;
import java.util.Map;

public interface CommunityDao {
    public int updateShopCommunityId(String [] ids,int communityId);

    /**
     * 查看关联门店
     * @param map
     * @return
     */
    public List<Shop> selectGuanLian(Map<String,String> map);
    /**
     * 查看关联门店总total
     * @param map
     * @return
     */
    public int selectGuanLianCount(Map<String,String> map);
    // 增加 删除 修改  查询  查询总条数
    public int insert(Community community);
    public int delete(int communityId);
    public int update(Community community);
    public List<Community> selectAll(Map<String,String> map);
    public int selectCount(Map<String,String> map);
}
